import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex);

import login from './login'
import createPersistedState from "vuex-persistedstate"

export default new vuex.Store({
  plugins: [createPersistedState({
    storage: window.sessionStorage
  })],
    modules: {
        login: login
    }
})
